import request from '@/utils/request'

// 楼宇列表
export function listFloor(query) {
  return request({
    url: '/system/floor/list',
    method: 'get',
    params: query
  })
}
// 楼宇列表
export function allListFloor() {
  return request({
    url: '/system/floor/allList',
    method: 'get'
  })
}
// 楼宇小区
export function delFloor(data) {
  return request({
    url: '/system/floor/delete',
    method: 'post',
	data:data
  })
}

// 楼宇小区
export function insertFloor(data) {
  return request({
    url: '/system/floor/insert',
    method: 'post',
	data:data
  }) 
}

// 修改楼宇小区
export function editFloor(data) {
  return request({
    url: '/system/floor/edit',
    method: 'post',
	data:data
  }) 
}